package org.test;

import java.util.HashMap;
import java.util.Map;

import org.noka.gson.Gson;
import org.noka.gson.reflect.TypeToken;

public class TA {

	public String ts(String a){
		return a+":";
	}
	public static void main(String[] args) {
		String a="{'key1':{'a':'a','b':'b'},'key2':{'a':'a','b':null}}";
		Gson gson = new Gson(); 
		
		Map<String,HashMap<String,String>> person = gson.fromJson(a,new TypeToken<Map<String,HashMap<String,String>>>(){}.getType()); 
		
		System.out.println(person.get("key2").get("b"));
	}

}
